home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / Online / PHP / include / php / ext / standard / info.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-03-17  |  3.1 KB  |  81 lines

  1. /* 
  2.    +----------------------------------------------------------------------+
  3.    | PHP version 4.0                                                      |
  4.    +----------------------------------------------------------------------+
  5.    | Copyright (c) 1997-2001 The PHP Group                                |
  6.    +----------------------------------------------------------------------+
  7.    | This source file is subject to version 2.02 of the PHP license,      |
  8.    | that is bundled with this package in the file LICENSE, and is        |
  9.    | available at through the world-wide-web at                           |
  10.    | http://www.php.net/license/2_02.txt.                                 |
  11.    | If you did not receive a copy of the PHP license and are unable to   |
  12.    | obtain it through the world-wide-web, please send a note to          |
  13.    | license@php.net so we can mail you a copy immediately.               |
  14.    +----------------------------------------------------------------------+
  15.    | Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca>                       |
  16.    |          Zeev Suraski <zeev@zend.com>                                |
  17.    +----------------------------------------------------------------------+
  18. */
  19.  
  20. /* $Id: info.h,v 1.21.2.1 2001/03/17 12:21:22 jmoore Exp $ */
  21.  
  22. #ifndef INFO_H
  23. #define INFO_H
  24.  
  25. #define PHP_ENTRY_NAME_COLOR "#CCCCFF"
  26. #define PHP_CONTENTS_COLOR "#CCCCCC"
  27. #define PHP_HEADER_COLOR "#9999CC"
  28.  
  29. #define PHP_INFO_GENERAL            (1<<0)
  30. #define PHP_INFO_CREDITS            (1<<1)
  31. #define PHP_INFO_CONFIGURATION        (1<<2)
  32. #define PHP_INFO_MODULES            (1<<3)
  33. #define PHP_INFO_ENVIRONMENT        (1<<4)
  34. #define PHP_INFO_VARIABLES            (1<<5)
  35. #define PHP_INFO_LICENSE            (1<<6)
  36. #define PHP_INFO_ALL                0xFFFFFFFF
  37.  
  38. #ifndef HAVE_CREDITS_DEFS
  39. #define HAVE_CREDITS_DEFS
  40.  
  41. #define PHP_CREDITS_GROUP            (1<<0)
  42. #define PHP_CREDITS_GENERAL            (1<<1)
  43. #define PHP_CREDITS_SAPI            (1<<2)
  44. #define PHP_CREDITS_MODULES            (1<<3)
  45. #define PHP_CREDITS_DOCS            (1<<4)
  46. #define PHP_CREDITS_FULLPAGE        (1<<5)
  47. #define PHP_CREDITS_QA                (1<<6)
  48. #define PHP_CREDITS_WEB             (1<<7)
  49. #define PHP_CREDITS_ALL                0xFFFFFFFF
  50.  
  51. #endif /* HAVE_CREDITS_DEFS */
  52.  
  53. #define PHP_LOGO_GUID          "PHPE9568F34-D428-11d2-A769-00AA001ACF42"
  54. #define PHP_EGG_LOGO_GUID    "PHPE9568F36-D428-11d2-A769-00AA001ACF42"
  55. #define ZEND_LOGO_GUID        "PHPE9568F35-D428-11d2-A769-00AA001ACF42"
  56. #define PHP_CREDITS_GUID  "PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000"
  57.  
  58. PHP_FUNCTION(phpversion);
  59. PHP_FUNCTION(phpinfo);
  60. PHP_FUNCTION(phpcredits);
  61. PHP_FUNCTION(php_logo_guid);
  62. PHP_FUNCTION(zend_logo_guid);
  63. PHP_FUNCTION(php_egg_logo_guid);
  64. PHP_FUNCTION(php_sapi_name);
  65. PHP_FUNCTION(php_uname);
  66. PHPAPI void php_print_info(int flag);
  67. PHPAPI void php_print_style(void);
  68. PHPAPI void php_info_print_style(void);
  69. PHPAPI void php_info_print_table_colspan_header(int num_cols, char *header);
  70. PHPAPI void php_info_print_table_header(int num_cols, ...);
  71. PHPAPI void php_info_print_table_row(int num_cols, ...);
  72. PHPAPI void php_info_print_table_start(void);
  73. PHPAPI void php_info_print_table_end(void);
  74. PHPAPI void php_info_print_box_start(int bg);
  75. PHPAPI void php_info_print_box_end(void);
  76. PHPAPI void php_info_print_hr(void);
  77.  
  78. void register_phpinfo_constants(INIT_FUNC_ARGS);
  79.  
  80. #endif /* INFO_H */
  81.